.modelOverWrite() {
  :global {
    ::-webkit-scrollbar {
      width: 6px;
      height: 10px;
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      // background: #acb1c1;
      border-radius: 5px;
      opacity: 0.5;
    }

    ::-webkit-scrollbar-track {
      border-radius: 5px;
    }

    .ant-modal-header,
    .ant-modal-content {
      background-color: #222629;
    }

    .ant-input-affix-wrapper {
      border-color: #4e5154;
    }

    .ant-modal-header {
      background: #222629 !important;
    }

    .ant-modal-body {
      background: #222629 !important;
    }
  }
}

.tabPage {
  width: 100%;
  min-width: 1080px;
  height: 100vh;
  padding: 24px;
}

html[data-type-color='dark'] {
  #titanic {
    ::-webkit-scrollbar {
      width: 10px !important;
      height: 10px !important;
      background: transparent !important;
    }
    ::-webkit-scrollbar-thumb {
      background: rgba(172, 177, 193, 0.5) !important;
      border: none !important;
      border-radius: 5px !important;
      &:hover {
        background: rgba(172, 177, 193, 0.5) !important;
      }
    }
    ::-webkit-scrollbar-track,
    ::-webkit-scrollbar-corner {
      background: transparent !important;
    }
    .ant-spin-container {
      width: 100%;
      height: 100%;
    }
    .ant-spin-container::after {
      background: transparent;
    }
    .ant-spin-nested-loading > div > .ant-spin {
      top: 50%;
      transform: translateY(-50%);
    }
    .ant-btn-link:not([disabled]):hover,
    .ant-btn-link:not([disabled]):active,
    .ant-btn-link:not([disabled]):focus {
      color: #18a0fb;
      background: transparent;
    }
    // .tabPage {
    //   background: #161a1d;
    //   .ant-tabs {
    //     width: 100%;
    //     height: 100%;
    //     background: #222629;
    //     border-radius: 5px;
    //     &-nav {
    //       margin: 0 24px;
    //     }
    //     &-tab {
    //       margin: 0 48px 0 0;
    //       padding: 22px 0 18px;
    //       color: #a7a8a9;
    //       font-size: 18px;
    //       line-height: 24px;
    //     }
    //     &-content {
    //       height: 100%;
    //     }
    //     &-tabpane {
    //       height: 100%;
    //       overflow: hidden auto;
    //     }
    //   }
    //   .ant-spin-container::after {
    //     background-color: #222629;
    //   }
    // }
    .tj_drawer {
      .ant-drawer-header {
        border-bottom: none !important;
        .ant-drawer-title {
          display: flex;
          align-items: center;
          &::before {
            display: block;
            width: 30px;
            height: 30px;
            margin-right: 8px;
            background-image: url('~@/assets/img/plan_icon.png');
            background-repeat: no-repeat;
            background-size: 100%;
            content: '';
          }
        }
      }
    }
  }
}
#titanic {
  .tabPage {
    // background: var(--bd);
    height: var(--page-height);

    .ant-tabs {
      width: 100%;
      height: 100%;
      background-color: var(--bg-main);
      border-radius: 5px;
      &-nav {
        margin: 0 24px;
      }
      &-tab {
        margin: 0 48px 0 0;
        padding: 22px 0 18px;
        color: var(--font2);
        font-size: 18px;
        line-height: 24px;
      }
      &-content {
        height: 100%;
      }
      &-tabpane {
        height: 100%;
        overflow: hidden auto;
      }
    }
    .ant-spin-container::after {
      background-color: var(--bg-main);
    }
  }
}
